package com.hd.entity.activiti;

import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;

/**
 * 流程知会
 */
@Entity
@Table(name="act_processins_cc")
public class ProcessInsCc implements Serializable{
        @Id
        private String id;
        /**
         * 标题
         */
        private String title;
        @Column(name="task_id")
        /**
         * 任务ID
         */
        private String taskId;
        /**
         * 任务名称
         */
        @Column(name="task_name")
        private String taskName;
        /**
         * 流程ID
         */
        @Column(name="processinstance_id")
        private String processInstanceId;
        /**
         * 知会人
         */
        @Column(name="user_id_ccs")
        private String userIdCcs;
        @Transient
        private String userNameCCs;
        /**
         * 业务流程KEY
         */
        @Column(name = "business_key")
        private String businessKey;
        /**
         * 业务类型
         */
        @Column(name = "business_type")
        private String businessType;
        /**
         * 创建时间
         */
        @Column(name = "create_time")
        private Date createTime;
        @Transient
        private Date createTimeStart;
        @Transient
        private Date createTimeEnd;
        /**
         * 阅读状态
         */
        @Transient
        private Integer readStatus;

        public String getId() {
                return id;
        }

        public void setId(String id) {
                this.id = id;
        }

        public String getTitle() {
                return title;
        }

        public void setTitle(String title) {
                this.title = title;
        }

        public String getTaskId() {
                return taskId;
        }

        public void setTaskId(String taskId) {
                this.taskId = taskId;
        }

        public String getTaskName() {
                return taskName;
        }

        public void setTaskName(String taskName) {
                this.taskName = taskName;
        }

        public String getProcessInstanceId() {
                return processInstanceId;
        }

        public void setProcessInstanceId(String processInstanceId) {
                this.processInstanceId = processInstanceId;
        }

        public String getUserIdCcs() {
                return userIdCcs;
        }

        public void setUserIdCcs(String userIdCcs) {
                this.userIdCcs = userIdCcs;
        }

        public String getUserNameCCs() {
                return userNameCCs;
        }

        public void setUserNameCCs(String userNameCCs) {
                this.userNameCCs = userNameCCs;
        }

        public Date getCreateTime() {
                return createTime;
        }

        public void setCreateTime(Date createTime) {
                this.createTime = createTime;
        }

        public Date getCreateTimeStart() {
                return createTimeStart;
        }

        public void setCreateTimeStart(Date createTimeStart) {
                this.createTimeStart = createTimeStart;
        }

        public Date getCreateTimeEnd() {
                return createTimeEnd;
        }

        public void setCreateTimeEnd(Date createTimeEnd) {
                this.createTimeEnd = createTimeEnd;
        }

        public Integer getReadStatus() {
                return readStatus;
        }

        public void setReadStatus(Integer readStatus) {
                this.readStatus = readStatus;
        }

        public String getBusinessKey() {
                return businessKey;
        }

        public void setBusinessKey(String businessKey) {
                this.businessKey = businessKey;
        }

        public String getBusinessType() {
                return businessType;
        }

        public void setBusinessType(String businessType) {
                this.businessType = businessType;
        }
}
